package com.jhgsys.internal.sypq.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jhgsys.internal.sypq.entity.SypqProject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jhgsys.internal.sypq.entity.SypqProjectDto;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

/**
 * 项目设置 Mapper
 *
 * @author ganjun
 * @date 2024-11-12 10:58:48
 */
public interface SypqProjectMapper extends BaseMapper<SypqProject> {

    String  getMaxSerialNo(@Param("code")String code);

    IPage<SypqProjectDto> getProjectDetailPage(Page page,
      @Param("projectDto")SypqProjectDto projectDto,@Param("userid")String userid);

    List<SypqProjectDto>  getProjectDetail(@Param("projectDto")SypqProjectDto projectDto,
                                           @Param("userid")String userid);
}
